#include "Collision.h"

Collision::Collision(void)
{
}

Collision::~Collision(void)
{
}

float Collision::getDeltaX()
{
	return deltaX;
}

float Collision::getDeltaY()
{
	return deltaY;
}

void Collision::setDeltaX( float deltaX )
{
	this->deltaX = deltaX;
}

void Collision::setDeltaY( float deltaY )
{
	this->deltaY = deltaY;
}

void Collision::setElement( Element * element )
{
	this->element = element;
}

Element * Collision::getElement( void )
{
	return this->element;
}

float Collision::getCollisionTime()
{
	return this->time;
}

void Collision::setCollisionTime( float time )
{
	this->time = time;
}

float Collision::getDistance()
{
	return this->distance;
}

void Collision::setDistance( float distance )
{
	this->distance = distance;
}

Position * Collision::getPoint()
{
	return this->position;
}

void Collision::setPoint( Position * position )
{
	this->position = position;
}